package p3;

/**
 * @author krystal
 * @date 2022/11/9 20:02
 */
public class Demo11 {
    public static void main(String[] args) {
        for (int i = 1; i <= 100; i++) {
            for (int j = 2; j < 100; j++) {
                if(i % j == 0 && i != j){
                    break;
                }
                if(i % j == 0 && i == j){
                    System.out.println(i);
                    break;
                }
            }
        }
    }
}
